package com.core.dao;

import com.core.domain.Stadium;
import com.core.domain.User;
import com.core.domain.useStadium;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface PylDao {

    List<useStadium> quaryStdiumStatus(@Param("name") String name);
    User quaryUserInfo(@Param("userAccount") String userAccount);
    Stadium queryStadiumInfo(@Param("stadiumName") String stadiumName);


    int updateStadium(@Param("id") Object id, @Param("newcontent") Object newcontent,@Param("oldcontent") Object oldcontent);

    List<String> queryStadiumName();
}
